package com.asset.salesforce.dao;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.asset.salesforce.domain.FollowLead;


@Repository
public class FollowLeadDaoImpl {
	
	@Autowired
	SessionFactory sessionFactory;
	

	public void addfollowLead(FollowLead followLead) {
		try{
			sessionFactory.getCurrentSession().save(followLead);
			}catch(Exception ex){
				ex.printStackTrace();
			}
	}


}
